﻿using _01_Tower4._0.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _01_Tower4._0.Skills.Base
{
    internal class AtkSkill : Skill
    {

        public int Damage { get; set; }
        public AtkSkill(int id, string name, string description, string feedBack, int cd, int mp, int damage) : base(id, name, description, feedBack, cd, mp)
        {
            Damage = damage;
        }

        public virtual void Use(IAttack target, IAttack caster)
        {
            target.JudgingDeath();
        }
    }  
}
